package com.itheima.mall.service.smsService;

import com.itheima.pojo.sms.SmsFlashPromotionSession;

import java.util.List;

public interface SmsFlashPromotionSessionServiceApi {
    //添加场次
    void create(SmsFlashPromotionSession smsFlashPromotionSession);
    //删除场次
    void delete(Long id);
    //获取全部场次
    List<SmsFlashPromotionSession> list();
    //根据ids查询
    List<SmsFlashPromotionSession> selectByIds(List<Long> flashPromotionSessionIds);
    //修改启用状态
    void updateStatus(Long id, Long status);
    //修改场次
    void update(Long id, SmsFlashPromotionSession smsFlashPromotionSession);
    //获取场次详情
    SmsFlashPromotionSession getFlashSession(Long id);
}
